import { defineStore } from 'pinia'
import { ref } from 'vue'

export const customersStore = defineStore(
    'customers',
    () => {

        const customers = ref([])

        const setCustomers = (c) => {
            customers.value = c
        }

        return {
            customers,
            setCustomers
        }
    },
    {
        persist: true
    }
)